package com.bd.scm.domain.dto.schedule;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yufc
 */
@Builder(toBuilder = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "排班班组员工")
public class ScheduleGroupEmployeeDto {
    /**
     *主键ID
     */
    @ApiModelProperty( value = "自增ID,不用设置", dataType = "Integer", position = 0, example = "0")
    private Integer id;

    /**
     * 班组ID
     */
    @ApiModelProperty( value = "班组ID", dataType = "Integer", position = 1, required = true, example = "1000")
    private Integer groupId;

    /**
     * 班组名称
     */
    @ApiModelProperty( value = "班组名称，保存数据时可以为空", dataType = "String", position = 2, required = false, example = "班组A")
    private String groupName;

    /**
     * 员工ID
     */
    @ApiModelProperty( value = "员工ID", dataType = "Integer", position = 3, required = true, example = "20005234")
    private Long userSerial;

    /**
     * 员工工号
     */
    @ApiModelProperty( value = "员工工号，保存数据时可以为空", dataType = "String", position = 4, required = false, example = "L0002")
    private String userNo;

    @ApiModelProperty( value = "员工姓名，保存数据时可以为空", dataType = "String", position = 4, required = false, example = "张三")
    private String userName;

    /**
     * 员工部门ID
     */
    @ApiModelProperty( value = "员工部门ID，保存数据时可以为空", dataType = "String", position = 5, required = false, example = "20030203")
    private Long userDep;

    /**
     * 员工部门名称
     */
    @ApiModelProperty( value = "员工部门名称，保存数据时可以为空", dataType = "String", position = 6, required = false, example = "开发部")
    private String depName;
}

